package main
 
 
func main() {
	c := make(chan int, 3)

	var sender chan<- int = c
	var recver <-chan int = c

	sender <- 1

	<-recver

	d1 := (chan int)(sender)
	d2 := (chan int)(recver)
}